Optimal. Leaf size=95 \[ -3 b n \text {Li}_2\left (\frac {e}{d x^{2/3}}+1\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )-\frac {3}{2} \log \left (-\frac {e}{d x^{2/3}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2+3 b^2 n^2 \text {Li}_3\left (\frac {e}{d x^{2/3}}+1\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 95, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {2454, 2396, 2433, 2374, 6589} \[ -3 b n \text {PolyLog}\left (2,\frac {e}{d x^{2/3}}+1\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )+3 b^2 n^2 \text {PolyLog}\left (3,\frac {e}{d x^{2/3}}+1\right )-\frac {3}{2} \log \left (-\frac {e}{d x^{2/3}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2374
Rule 2396
Rule 2433
Rule 2454
Rule 6589
Rubi steps
\begin {align*} \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2}{x} \, dx &=-\left (\frac {3}{2} \operatorname {Subst}\left (\int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x} \, dx,x,\frac {1}{x^{2/3}}\right )\right )\\ &=-\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \log \left (-\frac {e}{d x^{2/3}}\right )+(3 b e n) \operatorname {Subst}\left (\int \frac {\log \left (-\frac {e x}{d}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )}{d+e x} \, dx,x,\frac {1}{x^{2/3}}\right )\\ &=-\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \log \left (-\frac {e}{d x^{2/3}}\right )+(3 b n) \operatorname {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (-\frac {e \left (-\frac {d}{e}+\frac {x}{e}\right )}{d}\right )}{x} \, dx,x,d+\frac {e}{x^{2/3}}\right )\\ &=-\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \log \left (-\frac {e}{d x^{2/3}}\right )-3 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right ) \text {Li}_2\left (1+\frac {e}{d x^{2/3}}\right )+\left (3 b^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2\left (\frac {x}{d}\right )}{x} \, dx,x,d+\frac {e}{x^{2/3}}\right )\\ &=-\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \log \left (-\frac {e}{d x^{2/3}}\right )-3 b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right ) \text {Li}_2\left (1+\frac {e}{d x^{2/3}}\right )+3 b^2 n^2 \text {Li}_3\left (1+\frac {e}{d x^{2/3}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.15, size = 199, normalized size = 2.09 \[ 2 b n \left (\frac {3}{2} \text {Li}_2\left (-\frac {e}{d x^{2/3}}\right )+\log (x) \left (\log \left (d+\frac {e}{x^{2/3}}\right )-\log \left (\frac {e}{d x^{2/3}}+1\right )\right )\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )-b n \log \left (d+\frac {e}{x^{2/3}}\right )\right )+\log (x) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )-b n \log \left (d+\frac {e}{x^{2/3}}\right )\right )^2-\frac {3}{2} b^2 n^2 \left (-2 \text {Li}_3\left (\frac {e}{d x^{2/3}}+1\right )+2 \text {Li}_2\left (\frac {e}{d x^{2/3}}+1\right ) \log \left (d+\frac {e}{x^{2/3}}\right )+\log \left (-\frac {e}{d x^{2/3}}\right ) \log ^2\left (d+\frac {e}{x^{2/3}}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.42, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b^{2} \log \left (c \left (\frac {d x + e x^{\frac {1}{3}}}{x}\right )^{n}\right )^{2} + 2 \, a b \log \left (c \left (\frac {d x + e x^{\frac {1}{3}}}{x}\right )^{n}\right ) + a^{2}}{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \log \left (c {\left (d + \frac {e}{x^{\frac {2}{3}}}\right )}^{n}\right ) + a\right )}^{2}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.11, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \ln \left (c \left (d +\frac {e}{x^{\frac {2}{3}}}\right )^{n}\right )+a \right )^{2}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ b^{2} n^{2} \log \left (d x^{\frac {2}{3}} + e\right )^{2} \log \relax (x) - \int \frac {2 \, {\left (2 \, b^{2} d n x \log \relax (x) - 3 \, {\left (b^{2} d \log \relax (c) + a b d\right )} x + 6 \, {\left (b^{2} d x + b^{2} e x^{\frac {1}{3}}\right )} \log \left (x^{\frac {1}{3} \, n}\right ) - 3 \, {\left (b^{2} e \log \relax (c) + a b e\right )} x^{\frac {1}{3}}\right )} n \log \left (d x^{\frac {2}{3}} + e\right ) - 12 \, {\left (b^{2} d x + b^{2} e x^{\frac {1}{3}}\right )} \log \left (x^{\frac {1}{3} \, n}\right )^{2} - 3 \, {\left (b^{2} d \log \relax (c)^{2} + 2 \, a b d \log \relax (c) + a^{2} d\right )} x + 12 \, {\left ({\left (b^{2} d \log \relax (c) + a b d\right )} x + {\left (b^{2} e \log \relax (c) + a b e\right )} x^{\frac {1}{3}}\right )} \log \left (x^{\frac {1}{3} \, n}\right ) - 3 \, {\left (b^{2} e \log \relax (c)^{2} + 2 \, a b e \log \relax (c) + a^{2} e\right )} x^{\frac {1}{3}}}{3 \, {\left (d x^{2} + e x^{\frac {4}{3}}\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (a+b\,\ln \left (c\,{\left (d+\frac {e}{x^{2/3}}\right )}^n\right )\right )}^2}{x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________